package com.chen.service;

import com.chen.domain.SysMenu;
import com.chen.domain.SysRolePrivilege;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface SysRolePrivilegeService extends IService<SysRolePrivilege> {


    /**
     * 根据角色查询当前的二级菜单
     *
     * @param roleId
     * @return
     */
    List<SysMenu> findSysMenuAndPrivileges(String roleId);
}
